package com.ysd.entity;

import java.util.Date;

public class Evaluate {
	private Integer id;
	private Integer userId;
	private Integer productId;
	private Date evaluateTime;
	private String content;
	
	private User user;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public Date getEvaluateTime() {
		return evaluateTime;
	}

	public void setEvaluateTime(Date evaluateTime) {
		this.evaluateTime = evaluateTime;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Evaluate(Integer id, Integer userId, Integer productId, Date evaluateTime, String content, User user) {
		super();
		this.id = id;
		this.userId = userId;
		this.productId = productId;
		this.evaluateTime = evaluateTime;
		this.content = content;
		this.user = user;
	}

	public Evaluate() {
		super();
	}

	@Override
	public String toString() {
		return "Evaluate [id=" + id + ", userId=" + userId + ", productId=" + productId + ", evaluateTime="
				+ evaluateTime + ", content=" + content + ", user=" + user + "]";
	}
	
}
